Skip to content

Londonl May-2025lping wanglCoursework/sprint 1 #641

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

pathywang
Copy link

@pathywang pathywang commented Jul 5, 2025

Self checklist

  • I have committed my files one by one, on purpose, and for a reason
  • I have titled my PR with REGION | COHORT_NAME | FIRST_NAME LAST_NAME | PROJ_NAME
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

After i did study prep for sprint 1 and also spent nearly two weeks for whole python, i started to do coursework and sometimes i did use chatgpt help me if i stuck with questions

Ask any questions you have for your reviewer.

@pathywang pathywang added the Needs Review Participant to add when requesting review label Jul 5, 2025
@kodnificent kodnificent added Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. and removed Needs Review Participant to add when requesting review labels Jul 14, 2025
Comment on lines +15 to +18
const last4Digits = cardNumber.toString.slice(-4);

//then conver to number
const last4Digits = Number(cardNumber.toString.slice(-4));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Defining last4Digits as a constant twice will fail

// The right coe should be:

const TwelveHourClockTime = "8:53"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of "8:53", you can do "08:53". Its good practice to always pad 12-hour formats with a zero to the left

@kodnificent kodnificent added Reviewed Volunteer to add when completing a review and removed Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Jul 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Reviewed Volunteer to add when completing a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants